{extend name="layout" /}

{block name="right"}
<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
        <span class="c-gray en">&gt;</span>
        资讯管理
        <span class="c-gray en">&gt;</span>
        资讯列表
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
    </nav>
    <div class="Hui-article">
        <article class="cl pd-20">
            <div class="text-c">




                <input type="text" name="" id="" placeholder=" 资讯名称" style="width:250px" class="input-text">
                <button name="" id="" class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索资讯</button>
            </div>
            <div class="cl pd-5 bg-1 bk-gray mt-20">
				<span class="l">

				<a class="btn btn-primary radius" href="{:url('create')}"><i class="Hui-iconfont">&#xe600;</i> 添加</a>
				</span>
                <span class="r">共有数据：<strong>{$total}</strong> 条</span>
            </div>
            <div class="mt-20">
                <table class="table table-border table-bordered table-bg table-hover table-sort">
                    <thead>
                    <tr class="text-c">
                        <th><input type="checkbox" name="" value=""></th>
                        <th width="80">ID</th>
                        <th>标题</th>
                        <th>图片</th>
                        <th>排序</th>
                        <th>更新时间</th>
                        <th>发布状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="list" id="vo"}
                    <tr class="text-c">
                        <td><input type="checkbox" value="" name=""></td>
                        <td>{$vo.id}</td>
                        <td>{$vo.title}</td>
                        <th><img src="{$vo.img}" width="150px"></th>
                        <td>{$vo.sort}</td>
                        <td>{$vo.update_time}</td>
                        <td class="td-status"><span class="label label-success radius">{$vo.status}</span></td>
                        <td class="f-14 td-manage">
                            <a class="ml-5 btn btn-success radius" href="{:url('edit',['id'=>$vo.id])}">编辑 </a>
                            <a class="ml-5 del btn btn-danger radius" href="#" link="{:url('delete',['id'=>$vo.id])}">删除 </a>
                        </td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
        </article>
    </div>
</section>
{/block}